#ifndef _I2C_PORT_H
#define _I2C_PORT_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

extern void i2cGpioInit(void);
extern void i2cSetSdaStatus(int8_t status);
extern void i2cSetSclStatus(int8_t status);
extern void i2cSdaModeSwitch(int8_t mode);
extern int8_t i2cGetSdaStatus(void);
extern void i2cDelay(uint16_t us);

#ifdef __cplusplus
}
#endif

#endif
